package com.example.dell.intelligentagriculture.utils;

import java.io.Serializable;

/**
 * 农业实体类
 */
public class Agriculture implements Serializable {
    private int co2;
    private int light;
    private int airHumidity;
    private int airTemperature;
    private int soilTemperature;
    private int soilHumidity;

    public Agriculture() {
    }

    public Agriculture(int co2, int light, int airHumidity, int airTemperature, int soilTemperature, int soilHumidity) {
        this.co2 = co2;
        this.light = light;
        this.airHumidity = airHumidity;
        this.airTemperature = airTemperature;
        this.soilTemperature = soilTemperature;
        this.soilHumidity = soilHumidity;
    }

    public int getCo2() {
        return co2;
    }

    public void setCo2(int co2) {
        this.co2 = co2;
    }

    public int getLight() {
        return light;
    }

    public void setLight(int light) {
        this.light = light;
    }

    public int getAirHumidity() {
        return airHumidity;
    }

    public void setAirHumidity(int airHumidity) {
        this.airHumidity = airHumidity;
    }

    public int getAirTemperature() {
        return airTemperature;
    }

    public void setAirTemperature(int airTemperature) {
        this.airTemperature = airTemperature;
    }

    public int getSoilTemperature() {
        return soilTemperature;
    }

    public void setSoilTemperature(int soilTemperature) {
        this.soilTemperature = soilTemperature;
    }

    public int getSoilHumidity() {
        return soilHumidity;
    }

    public void setSoilHumidity(int soilHumidity) {
        this.soilHumidity = soilHumidity;
    }
}
